package com.yhao.stock.common.utils;

/**
 * @author: yhao
 * @time: 2021/2/1 20:02
 * @description:
 */
public class CommonUtil {

    /**
     * @desc 获取指定范围的随机数
     * @param start
     * @param end
     * @return
     */
    public static int getRandomScopeInt(int start, int end) {
        return (int) (start + Math.random() * (end - start + 1));
    }
}
